home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Fractals
- Date: 6 Mar 1996 20:59:02 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4hlqemINN450@keats.ugrad.cs.ubc.ca>
- References: <4hhv43$49i@sunburst.ccs.yorku.ca> <313D1AF1.4A22@hsc.unt.edu> <4hjm6pINN44r@keats.ugrad.cs.ubc.ca> <313DCE26.6F0F@hsc.unt.edu>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <313DCE26.6F0F@hsc.unt.edu>,
- Steve Fogoros <sfogoros@hsc.unt.edu> wrote:
-
- [ liberty taken to reformat to 79 columns ]
-
- >The question is regarding the correct, standard, and generally accepted forms
- >of writing exponentiation in C code and in documentation. I've seen z**2 in
-
- The standard way of writing exponentiation in C code is
-
- #include <math.h>
- .
- .
-
- z = pow(x,y);
-
- where x, y, z are floats or doubles preferrably.
-
- >documentation that I always interpreted as exponentiation. And, I know that
- >the BASIC language has the exponent operator ^. I have avoided using ^ in the
- >past because of these variations. I am interested in your opinion on this
- >topic.
-
- I basically have no opinion. I write all technical documentation in TeX, which
- has more than adequate equation typesetting. :) I wouldn't attempt such
- gymnastics in a text medium: too taxing on my creativity.
-
- The people who frequent sci.math, I believe, have developed some sort of
- notation for representing equations in the ascii medium. I suspect that it is
- heavily TeX and Maple influenced; it's been so long since I read that newsgroup
- that I can't remember. This is getting way off topic for comp.lang.c, so I
- better quit while I'm ahead.
- --
-
-